#include <iostream>
#include <algorithm>

class Solution
{
public:
    int main()
    {
        int side[3];
        std::cin >> side[0] >> side[1] >> side[2];
        std::sort(side, side + 3);
        if (side[0] + side[1] <= side[2])
        {
            std::cout << "Not triangle";
            return 0;
        }
        int abSquare = side[0] * side[0] + side[1] * side[1];
        int cSquare = side[2] * side[2];
        if (abSquare > cSquare)
        {
            std::cout << "Acute triangle";
            if (side[1] == side[2] || side[0] == side[1])
            {
                std::cout << "\nIsosceles triangle";
                if (side[0] == side[2])
                {
                    std::cout << "\nEquilateral triangle";
                }
            }
        }
        else if (abSquare == cSquare)
        {
            std::cout << "Right triangle";
            if (side[0] == side[1])
            {
                std::cout << "\nIsosceles triangle";
            }
        }
        else
        {
            std::cout << "Obtuse triangle";
            if (side[0] == side[1])
            {
                std::cout << "\nIsosceles triangle";
            }
        }
        return 0;
    }
};

#ifndef __LOCAL_TEST__
int main()
{
    return Solution().main();
}
#endif